<div class="layer">
    <img src="${require('../../assets/logo.png')}" alt="">
    <div>
        this is <%= name %>
    </div>

    <% for(var i=0;i<arr.length;i++){ %>
        <%= arr[i] %>
    <% } %>
</div>